package com.szly.phm.admin.aspectj.annotation;

import com.szly.phm.admin.aspectj.enums.ModuleEnum;
import com.szly.phm.admin.aspectj.enums.OperationActionEnum;

import java.lang.annotation.*;

/**
 * @Description : ${创建类}
 * @Author : chengjiang
 * @Date: 2021/7/6 9:52
 */
@Target({ElementType.PARAMETER,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OperationLogAnnotation {

    /**
     * 模块名称
     *
     * @auther: chengjiang
     */
    ModuleEnum getModuleName() default ModuleEnum.OTHER;

    /**
     * 操作行为
     *
     * @auther: chengjiang
     */
    OperationActionEnum getOperationAction() default OperationActionEnum.OTHER;

}
